home *** CD-ROM | disk | FTP | other *** search
/ Aminet 3 / Aminet 3 - July 1994.iso / Aminet / util / cli / ECmd21p_bin.lha / ExtraCmds / doc / Prepare.man < prev    next >
Encoding:
Text File  |  1994-01-05  |  2.6 KB  |  67 lines

  1.  
  2.  
  3.  
  4. Prepare(V37)                                         Prepare(V37)
  5.  
  6.  
  7. FFOORRMMAATT
  8.        PPRREEPPAARREE [[FFRROOMM] (_f_i_l_e|_p_a_t_t_e_r_n)...]  [TTOO _f_i_l_e]
  9.                [TTOOLLOOWWEERR|TTOOUUPPPPEERR] [HHYYPPHHEENN]
  10.  
  11. TTEEMMPPLLAATTEE
  12.        FFRROOMM//MM,,TTOO//KK,,TTOOLLOOWWEERR//SS,,TTOOUUPPPPEERR//SS,,HHYYPPHHEENN//SS
  13.  
  14. PPUURRPPOOSSEE
  15.        To extract the words of files and print them one per line.
  16.  
  17. SSPPEECCIIFFIICCAATTIIOONN
  18.        PPRREEPPAARREE extracts the words of  the  given  files,  or  the
  19.        default  input,  and  prints  them,  one  per line, to the
  20.        default output, or to the destination specified by the  TTOO
  21.        argument.  A  word is a maximal string of letters from the
  22.        ISO Latin 1 character set. A compound made  with  hyphens,
  23.        `-',  is  split  up  into its constituent parts unless the
  24.        HHYYPPHHEENN switch is specified. In-word apostrophes are recog­
  25.        nized, so words like `doesn't' etc. are printed correctly.
  26.        If the TTOOLLOOWWEERR or the TTOOUUPPPPEERR switch is given, the charac­
  27.        ters are folded to lower or upper case respectively. It is
  28.        an error if both are given.
  29.  
  30.        PPRREEPPAARREE can, for example, be used with SSOORRTT and UUNNIIQQUUEE  to
  31.        produce word lists.
  32.  
  33. EEXXAAMMPPLLEE
  34.        It  is  possible  to  make  a  _p_o_o_r _m_a_n_'_s spelling checker
  35.        (should be entered as one line):
  36.            1> PIPE PREPARE foo TOLOWER | SORT IN: OUT: | UNIQUE
  37.                    | COMMON dict -1 -3
  38.        where _f_o_o is the file to be checked, and _d_i_c_t is a  sorted
  39.        dictionary  of  words in lower case. The words reported to
  40.        the default output are not  in  the  dictionary,  and  are
  41.        therefore possible spelling mistakes. This example assumes
  42.        you have Andy Finkel's PPIIPPEE command. Use  temporary  files
  43.        if you don't.
  44.  
  45. AAUUTTHHOORR
  46.        Torsten Poulin (torsten@diku.dk)
  47.  
  48. UUNNRREESSTTRRIICCTTIIOONNSS
  49.        PPRREEPPAARREE is free; anyone may redistribute copies of PPRREEPPAARREE
  50.        to anyone under the terms stated in the GNU General Public
  51.        Licence, a copy of which accompanies each copy of PPRREEPPAARREE.
  52.  
  53.        Torsten Poulin encourages you to improve and  extend  PPRREE­­
  54.        PPAARREE, and urges that you contribute your extensions to the
  55.        world.
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.  
  64. Prepare version 37.4       1 March 1993                         1
  65.  
  66.  
  67.